package com.study.hot.jetpack.hilt.use_in_mvvm

import androidx.lifecycle.ViewModel
import com.study.hot.jetpack.hilt.use_in_mvvm.HiltRepository

/**
 * <pre>
 *     author : slx
 *     time   : 2020/11/24
 *     desc   :
 * </pre>
 */
// 使用hilt特殊注解，无需提供作用域范围
// @Inject注解改为@ViewModelInject注解
//@ActivityRetainedScoped
class HiltViewModel2 /*@ViewModelInject*/ constructor(val repository: HiltRepository) : ViewModel() {
}